package cn.bdqn.service;

import cn.bdqn.pojo.ItripHotel;
import cn.bdqn.pojo.ItripLabelDic;
import cn.bdqn.vo.ItripSearchDetailsHotelVO;
import cn.bdqn.vo.ItripSearchFacilitiesHotelVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HotelService {
    //查询所有特色
    public List selectLabelAllMessage(Map map);
    //查询热门城市
    public List selectAreaAllMessage(Map map);
    //查询所有商圈
    public List selectAreaByCityId(Map map);
    /**
     *  根据酒店ID获取特色
     * @param id
     * @return
     * @throws Exception
     */
    public List<ItripLabelDic> findHotelFeatureByHotelId(Long id)throws Exception;

    /**
     * 根据酒店的id查询酒店的特色和介绍 -add by donghai
     * @param id
     * @return
     * @throws Exception
     */
    public List<ItripSearchDetailsHotelVO> getHotelDetails(Long id)throws Exception;

    /**
     * 通过酒店ID获取酒店信息
     * @param id
     * @return
     * @throws Exception
     */
    public ItripHotel findItripHotelById(@Param(value = "id") Long id)throws Exception;
    ItripSearchFacilitiesHotelVO findItripHotelFacilitiesById(@Param(value="id") Long id)throws Exception;

    public Integer getHotelCOmmentCountByHotelId(Map<String ,Object> map) throws Exception;

}
